//
//  CourseIntroduceCell.m
//  TrainTree
//
//  Created by wanghui on 2017/9/13.
//  Copyright © 2017年 YouYeShu. All rights reserved.
//

#import "CourseIntroduceCell.h"

@implementation CourseIntroduceCell
 

 - (void)awakeFromNib
{
    [super awakeFromNib];
    self.testLabel.preferredMaxLayoutWidth = ScreenWidth - 32;
}

- (void)loadStr:(NSString *)str Num:(NSInteger)num
{
    self.testLabel.text = str ?: @"暂无介绍";
    self.testLabel.numberOfLines = num;
}
@end
